import java.util.Scanner;

public class cherry {
    public static void main(String[] args) {
        Scanner shuzi=new Scanner(System.in);
        System.out.println("请输入三个数字：");
        int a=shuzi.nextInt();
        int b=shuzi.nextInt();
        int c=shuzi.nextInt();
        if(a>c&&a>b&&b>c){
            System.out.println("从大到小排序为："+a +b +c);
        }else if (a>c&&a>b&&c>b){
            System.out.println("从大到小排序为："+a +c +b);
        }else if (b>a&&b>c&&a>c){
            System.out.println("从大到小顺序为："+b +a +c);
        }else if (b>c&&b>a&&c>a){
            System.out.println("从大到小顺序为："+b +c +a);
        }else if (c>a&&a>b&&c>b){
            System.out.println("从大到小顺序为："+c +b +a);
        }else{
            System.out.println("从大到小顺序为："+c +b +a);
        }

    }
}
